﻿{eq name="row" value=""}
<title>{$webTitle}</title>
<div class="app-header t-v bg-bai dl2 bb b-hui"><span class="header-l t-v nowrap" onclick="x.mclose();"><i
        class="icon icon-pleft f9"></i>返回</span> <span class="header-c t-v t-c nowrap">{$webTitle}</span> <span
        class="header-r t-v t-r nowrap" onclick="mode_qq_saoma();"><i class="icon icon-scan f10"></i></span></div>
<div class="app-content bg-bai">
    <div class="p3">
        <div class="mt2"><p class="bold hong t-c">请在此处添加需要秒赞的QQ和QQ密码</p>
            <p class="f2 hui t-c" id="addqq_intro" data-step="" data-intro="" data-position="">注：如您遇到QQ无法正常登陆，请点击右上角使用扫码添加</p></div>
        <div class="h10 mt3"><input type="number" pattern="\d*" class="form wh p0 r0 bb" id="uin" name="addqq"
                                    placeholder="请输入QQ号码" value="" onkeypress="return x.ints(this,0,10);"></div>
        <div class="h10 mt3"><input type="password" class="form wh p0 r0 bb" id="pwd" name="addpass" placeholder="请输入QQ密码"
                                    value="" maxlength="32"></div>
        <div id="codeimg"></div>
        <div class="pt5 in-text">
            <dt class="pr3">登陆地点</dt>
            <dd class="t-l">
			{if condition="config('sys_is_qqlogin_api_check_1') eq 1"}
                <label class="i-checks ml1"><input type="radio" name="area" value="1"  checked=""><i></i>{:config('sys_is_qqlogin_api_dz_1')}</label>
			{/if}
			{if condition="config('sys_is_qqlogin_api_check_2') eq 1"}
                <label class="i-checks ml1"><input type="radio" name="area" value="2"><i></i>{:config('sys_is_qqlogin_api_dz_2')}</label>
			{/if}
			{if condition="config('sys_is_qqlogin_api_check_3') eq 1"}
                <label class="i-checks ml1"><input type="radio" name="area" value="3"><i></i>{:config('sys_is_qqlogin_api_dz_3')}</label>
			{/if}
			{if condition="config('sys_is_qqlogin_api_check_4') eq 1"}
                <label class="i-checks ml1"><input type="radio" name="area" value="4"><i></i>{:config('sys_is_qqlogin_api_dz_4')}</label>
			{/if}
			</dd>
        </div>
        <div class="mt7">
            <button class="btn btn-md btn-qing w" onclick="submit_add()">确 定 添 加</button>
        </div>
        <div class="in-list in-t top mt7 mb3 f2 hui"><p class="bold f4 mb3">秒赞使用提示</p>
            <dl>
                <dt>1、</dt>
                <dd class="fen">首次使用可能会因为异地登陆而被TX临时冻结帐号，解除冻结后再添加一次即可。</dd>
            </dl>
            <dl>
                <dt>2、</dt>
                <dd>异地登录后可能提示被盗号的提醒，属于安全误报请勿担心，改密后既不会再提醒。</dd>
            </dl>
            <dl>
                <dt>3、</dt>
                <dd>使用前可绑定QQ安全中APP，将异地登陆确认为本人操作，可避免账号被再次冻结。</dd>
            </dl>
        </div>
    </div>
</div>
<script>
    function mode_qq_saoma() {
        x.mode('{:url('mobile/qqlist',['act'=>'saoma'])}?stem=qqlist', 'qqsaoma');
    }
</script>
{else/}
<title>{$webTitle}</title>
<div class="app-header t-v bg-bai dl2 bb b-hui"><span class="header-l t-v nowrap" onclick="x.mclose();"><i
        class="icon icon-pleft f9"></i>返回</span> <span class="header-c t-v t-c nowrap">{$webTitle}</span> <span
        class="header-r t-v t-r nowrap" onclick="mode_qq_saoma();"><i class="icon icon-scan f10"></i></span></div>
<div class="app-content mode-b5 bg-bai">
    <div class="p3">
        <div class="mt2"><p class="bold hong t-c">QQ:{$row['qq']} &nbsp;&nbsp;&nbsp; 请输入QQ密码</p>
            <p class="f2 hui t-c">注：如您遇到QQ无法正常登陆，请点击右上角使用扫码更新</p></div>
        <input type="hidden" id="stem" value="index">
		<input type="hidden" id="uin" name="addqq" value="{$row['qq']}">
        <div class="h10 mt3"><input type="password" class="form wh p0 r0 bb" id="pwd" name="addpass" placeholder="请输入QQ密码"
                                    value="" maxlength="32"></div>
        <div id="codeimg"></div>
		<div class="mt7 pb3 in-text bold" style="display: none">
			<dt class="f4 pr4">登陆地点</dt>
			<dd>
				<label class="i-checks ml4"><input type="radio" name="area" value="{$row['area']}"  checked=""><i></i>{:config('sys_is_qqlogin_api_dz_'.$row['area'].'')}</label>
			</dd>
		</div>
        <div class="mt7 mb3">
            <button class="btn btn-qing btn-md w" onclick="submit_add();">确 定 更 新</button>
        </div>
    </div>
</div>
<div class="mode-footer w h5 bg-bai dl2 t-v bt">
    <div class="w f2 t-c hui">当前QQ使用 <font class="lv"><i class="icon icon-location"></i> 江苏服务器</font> 进行登陆，如需更改，请删除重新添加
    </div>
</div>
<script>
    function mode_qq_saoma() {
        x.mode('{:url('mobile/qqlist',['act'=>'saoma'])}?qid={$row['qid']}&stem=qqlist', 'qqsaoma');
    }
</script>
{/eq}